package com.dl.study.module.base.resinfo.domain.dto;

import lombok.Data;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;

/**
 * [ 系统资源表 ]
 *
 * @author dl
 * @version 1.0
 * @company xxxx
 * @copyright (c) 2018 xxxxInc. All rights reserved.
 * @date 2019/3/27 0027 下午 12:27
 * @since JDK1.8
 */
@Data
public class ResInfoDTO {

    @ApiModelProperty("主键ID")
    private Long id;

    @ApiModelProperty("创建人")
    private Long creator;

    @ApiModelProperty("创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

    @ApiModelProperty("修改人")
    private Long updator;

    @ApiModelProperty("修改时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;

    @ApiModelProperty("是否删除{0:未删除,1:删除}")
    private Integer isDeleted;

    @ApiModelProperty("资源类型 1:模块 2:菜单 3:链接 4:按钮")
    private Integer resType;

    @ApiModelProperty("父级ID")
    private Long pid;

    @ApiModelProperty("左值")
    private Integer resLft;

    @ApiModelProperty("右值")
    private Integer resRgt;

    @ApiModelProperty("资源深度")
    private Integer resLevel;

    @ApiModelProperty("系统ID")
    private Long sysId;

    @ApiModelProperty("同级目录下资源排序")
    private Long idxNum;

    @ApiModelProperty("资源描述")
    private String resDesc;

    @ApiModelProperty("菜单名称")
    private String name;

    @ApiModelProperty("菜单编号路径")
    private String fullId;

    @ApiModelProperty("图标样式类")
    private String iconClass;

    @ApiModelProperty("排序")
    private Integer showOrder;

    @ApiModelProperty("链接")
    private String url;

    @ApiModelProperty("页面路径")
    private String component;

    @ApiModelProperty("权限ID")
    private Long authorityId;


}
